package com.qutan.app.core.domain.enumclass;

/**
 * Created by pwy on 15-4-17.
 * 角色枚举
 */
public enum RoleType {
    NORMAL("普通会员", 0), BUSINESS("商家", 1), ADMINISTER("管理员", 2);

    RoleType(String text, int sort) {
        this.text = text;
        this.sort = sort;
    }

    private int sort;
    private String text;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
